<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		table.type1 {
			background-color: red;
		}

		table.type1 td {
			background-color: #fff;
		}

		table.type2 {
			border-collapse: collapse;
		}

		table.type2, table.type2 td {
			border: 1px solid red;
		}

		td {
			width: 100px;
			height: 30px;
		}

		tr:hover {
			background-color: #ddd;
		}

		tr:nth-child(even) {
			background-color: #ddd;
		}
	</style>
</head>
<body>

	<table class="type1" cellspacing="1">
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
	</table>

	<hr>

	<table class="type2">
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
	</table>

	<hr>

	<table border="1">
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
		<tr>
			<td>itme1</td>
			<td>itme2</td>
			<td>itme3</td>
			<td>itme4</td>
			<td>itme5</td>
			<td>itme6</td>
			<td>itme7</td>
			<td>itme8</td>
		</tr>
	</table>
	
</body>
</html>